package com.example.demo.service;

import com.example.demo.bean.ListBean;
import com.example.demo.bean.SongBean;

import java.util.List;

public interface ListService {
    //新建歌单
    boolean createList(ListBean listBean);
    //删除歌单
    boolean deleteList(int lid);
    //修改歌单信息
    boolean changeList(int lid,String list_name,String introduce);
    //查询歌单是否存在
    boolean checkList(int lid);
    //获取歌单
    ListBean getList(int uid ,String listName,String creationTime);
    //获取用户歌单
    List<ListBean> getUserLists(int uid);
    //获得歌单内容
    List<SongBean> listGetSongs(int lid);
    //新加歌单收藏
    boolean listAddSong(int lid,int sid);
    //删除歌单收藏
    boolean listDelSong(int lid,int sid);
    //查询歌单内容
    SongBean listFindSong(int lid,int sid);
}
